home *** CD-ROM | disk | FTP | other *** search
-
-
-
- SYSCONF(3) MINTLIB LIBRARY FUNCTIONS SYSCONF(3)
-
-
- N✓NA✓AM✓ME✓E
- sysconf - query system related limits, values, options
-
- S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
- #include <unistd.h>
-
- long sysconf(int name);
-
- D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
- The sysconf function provides a method for the application
- to determine the current value of a configurable system
- limit or option. The value does not change during the
- lifetime of the calling process.
-
- The following parameters to sysconf are supported:
-
- Name Meaning Note
- _SC_LAST max limit # for sysconf NOT POSIX
- _SC_MEMR_MAX memory regions per process NOT POSIX
- _SC_ARG_MAX max length of cmdln NOT quite
- POSIX _SC_OPEN_MAX max # of open files per process
- POSIX _SC_NGROUPS_MAX max # supp gids
- POSIX _SC_CHILD_MAX max # processes/user NOT
- quite POSIX
-
- R✓RE✓ET✓TU✓UR✓RN✓N V✓VA✓AL✓LU✓UE✓ES✓S
- sysconf returns the current variable value on success. On
- failure, it returns -1 and sets errno to indicate the
- error.
-
- S✓SE✓EE✓E A✓AL✓LS✓SO✓O
- p✓pa✓at✓th✓hc✓co✓on✓nf✓f(✓(3✓3)✓),✓, S✓Sy✓ys✓sc✓co✓on✓nf✓f(✓(2✓2)✓)
-
- N✓NO✓OT✓TE✓E
- It's a pity this routine does not conform to POSIX; but
- then, it's even more a pity that MiNT does not comply...
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- MiNT docs 0.1 3 March 1993 1
-
-
-